package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * AQL设置对象 nc_aql_settings
 * 
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcAqlSettings", description = "AQL设置对象")    
public class NcAqlSettings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** AQL编号 */
    @Excel(name = "AQL编号")
    @ApiModelProperty("AQL编号")
    private String aqlCode;

    /** 检验项目 */
    @Excel(name = "检验项目")
    @ApiModelProperty("检验项目")
    private String inspectionItem;

    /** 检验等级 */
    @Excel(name = "检验等级")
    @ApiModelProperty("检验等级")
    private String inspectionLevel;

    /** 抽样数量 */
    @Excel(name = "抽样数量")
    @ApiModelProperty("抽样数量")
    private Long samplingQuantity;

    /** 合格数量 */
    @Excel(name = "合格数量")
    @ApiModelProperty("合格数量")
    private Long acceptableQuantity;

    /** 不合格数量 */
    @Excel(name = "不合格数量")
    @ApiModelProperty("不合格数量")
    private Long nonconformingQuantity;

    /** 抽样方法 */
    @Excel(name = "抽样方法")
    @ApiModelProperty("抽样方法")
    private String samplingMethod;

    /** 检验周期 */
    @Excel(name = "检验周期")
    @ApiModelProperty("检验周期")
    private String inspectionPeriod;

    /** 检验地点 */
    @Excel(name = "检验地点")
    @ApiModelProperty("检验地点")
    private String inspectionLocation;

    /** 质检员 */
    @Excel(name = "质检员")
    @ApiModelProperty("质检员")
    private String inspector;

    /** 检验结果 */
    @Excel(name = "检验结果")
    @ApiModelProperty("检验结果")
    private String inspectionResult;

    /** 样品编号 */
    @Excel(name = "样品编号")
    @ApiModelProperty("样品编号")
    private String sampleCode;

    /** 采样日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采样日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("采样日期")
    private Date samplingDate;

    /** 审核人员 */
    @Excel(name = "审核人员")
    @ApiModelProperty("审核人员")
    private String auditor;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("审核时间")
    private Date auditTime;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setAqlCode(String aqlCode) 
    {
        this.aqlCode = aqlCode;
    }

    public String getAqlCode() 
    {
        return aqlCode;
    }
    public void setInspectionItem(String inspectionItem) 
    {
        this.inspectionItem = inspectionItem;
    }

    public String getInspectionItem() 
    {
        return inspectionItem;
    }
    public void setInspectionLevel(String inspectionLevel) 
    {
        this.inspectionLevel = inspectionLevel;
    }

    public String getInspectionLevel() 
    {
        return inspectionLevel;
    }
    public void setSamplingQuantity(Long samplingQuantity) 
    {
        this.samplingQuantity = samplingQuantity;
    }

    public Long getSamplingQuantity() 
    {
        return samplingQuantity;
    }
    public void setAcceptableQuantity(Long acceptableQuantity) 
    {
        this.acceptableQuantity = acceptableQuantity;
    }

    public Long getAcceptableQuantity() 
    {
        return acceptableQuantity;
    }
    public void setNonconformingQuantity(Long nonconformingQuantity) 
    {
        this.nonconformingQuantity = nonconformingQuantity;
    }

    public Long getNonconformingQuantity() 
    {
        return nonconformingQuantity;
    }
    public void setSamplingMethod(String samplingMethod) 
    {
        this.samplingMethod = samplingMethod;
    }

    public String getSamplingMethod() 
    {
        return samplingMethod;
    }
    public void setInspectionPeriod(String inspectionPeriod) 
    {
        this.inspectionPeriod = inspectionPeriod;
    }

    public String getInspectionPeriod() 
    {
        return inspectionPeriod;
    }
    public void setInspectionLocation(String inspectionLocation) 
    {
        this.inspectionLocation = inspectionLocation;
    }

    public String getInspectionLocation() 
    {
        return inspectionLocation;
    }
    public void setInspector(String inspector) 
    {
        this.inspector = inspector;
    }

    public String getInspector() 
    {
        return inspector;
    }
    public void setInspectionResult(String inspectionResult) 
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult() 
    {
        return inspectionResult;
    }
    public void setSampleCode(String sampleCode) 
    {
        this.sampleCode = sampleCode;
    }

    public String getSampleCode() 
    {
        return sampleCode;
    }
    public void setSamplingDate(Date samplingDate) 
    {
        this.samplingDate = samplingDate;
    }

    public Date getSamplingDate() 
    {
        return samplingDate;
    }
    public void setAuditor(String auditor) 
    {
        this.auditor = auditor;
    }

    public String getAuditor() 
    {
        return auditor;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("aqlCode", getAqlCode())
            .append("inspectionItem", getInspectionItem())
            .append("inspectionLevel", getInspectionLevel())
            .append("samplingQuantity", getSamplingQuantity())
            .append("acceptableQuantity", getAcceptableQuantity())
            .append("nonconformingQuantity", getNonconformingQuantity())
            .append("samplingMethod", getSamplingMethod())
            .append("inspectionPeriod", getInspectionPeriod())
            .append("inspectionLocation", getInspectionLocation())
            .append("inspector", getInspector())
            .append("inspectionResult", getInspectionResult())
            .append("sampleCode", getSampleCode())
            .append("samplingDate", getSamplingDate())
            .append("auditor", getAuditor())
            .append("auditTime", getAuditTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
